﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TransCend.Result
{
    [Serializable]
    public class AjaxJsTree : AbsJsTree
    {
        public const String ROOT = "root";
        public AjaxJsTree()
            : base()
        {

        }

        public AjaxJsTree(int childrennum)
            : base()
        {
            if (childrennum > 0)
            {
                children = true;
            }
        }
        private string _type = "";
        public string type
        {
            get { return _type; }
            set { _type = value; }
        }

        public bool children
        {
            get;
            set;
        }
    }
}
